package com.accp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/visitor")
public class VisitorController {
    Logger logger= LoggerFactory.getLogger(VisitorController.class);
    @RequestMapping("/index")
    public String  index(String openid,HttpServletRequest request){
        request.setAttribute("openid",openid);
      return  "visitor";
    }
}
